package cn.amossun.starter.mybatis.data.security.runner;

import cn.amossun.starter.redis.cache.exception.RedisCacheConfigException;

import java.util.concurrent.ExecutionException;

/**
 * @description:
 * @author: Amos.Sun
 * @DateTime: 2020/03/19 22:42
 **/
public interface RedisCacheRunner extends CacheRunner {

    String getCacheKey() throws RedisCacheConfigException;

    Object getCacheValue() throws ExecutionException, RedisCacheConfigException;

    boolean refresh() throws RedisCacheConfigException;

}
